Repository navigation
refactor(actions): adopt unified CompositeToolCallBase template, fix safety/threading, and clean dead code - #24
Merged
Merged
Conversation
…safety/threading, and clean dead code refactor: migrate composite tools to guarded execution template Replace per-tool argument parsing and main-thread checks with Core's CompositeToolExecutionTemplate via a new ExecuteDirectToolAsync helper, so every composite tool shares cancellation, Unity main-thread guarding, single-pass JSON parsing, and structured exception handling. - Propagate TraceId into all RimMindError results and use ToolPolicyDenied for autonomy rejections - Derive ActionsToolArgumentAdapter tool IDs/aliases from tool manifests instead of duplicated string lists - Add ResourceSafetyGuard.CheckProjectConstructionSafety to aggregate stuffed and fixed material costs across multi-blueprint projects - Classify survival recipes by products/specialProducts rather than defName heuristics; only restrict bills to explicitly requested pawns - Delegate SpatialBuildingClassifier categories to BuildableStructureCatalogPolicy and make bottleneck suggestions discover structures dynamically - Skip downed/mental-state pawns in actor resolution and triage doctor selection; require reachability before dispatching harvest jobs - Convert source-inspection tests to behavioral tests against tool instances, and align test project with C# 9.0 - Rework deploy-single.ps1 for multi-version builds and clean runtime exclusions; drop deploy-single.sh and the csproj deploy target - Remove obsolete SKILL.md and INTRODUCTION.txt docs
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.